Release 10.1A: OpenEdge Development:
Web Services
Scenario 2: 4GL updated, but Web service not redeployed
In this scenario, the 4GL is updated with a different procedure prototype (signature), but the Web service is not updated accordingly. At this point:
- The client sends the following method request:
- The WSA gets the request and asks the AppServer to run the procedure
FindCustomerByNum.p.- The AppServer:
- The WSA:
- Records the following message in its log:
- Sends the following SOAP containing a SOAP fault back to the client:
Notice the correspondence between the
"(reqid:6)"string in the log file entry and the"<requestID> ...2e62...#6"string in the SOAP fault message, indicating information for the same request.- The interface translates the SOAP fault into a SOAP exception.
- The client catches the SOAP exception.
- The client displays the following error message (assuming the client application has a user interface):
Note: All .NET client applications should always catch SOAP faults and handle them. If not, the .NET Framework’s default exception handler displays the SOAP fault general error information. This might well hide and cause the loss of the more useful error detail information in the SOAP fault. For client applications without a user interface, all error information must be written to an application log file to ensure it is not lost.
![]()
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |